
import 'package:dingtalk/core/values/values.dart';
import 'package:dingtalk/ui/widgets/common_list_item.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

class THDiscoveryScreen extends StatelessWidget {
  const THDiscoveryScreen({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
          title: Text(
        "发现",
        style: TextStyle(color: kColor33),
      )),
      body: SafeArea(
        child: Column(
          children: <Widget>[
            SizedBox(height: kSize20),
            THCommonListItem(
              leading: SvgPicture.asset("assets/icons/icon_circle.svg",
                  width: kSize48),
              title: Text(
                "圈子",
                style: TextStyle(color: kColor33, fontSize: kSize34),
              ),
              trailing: Text(
                "发现更多精彩",
                style: TextStyle(color: kColor99),
              ),
              showArrow: true,
              showDivider: false,
            ),
            SizedBox(height: kSize20),
            THCommonListItem(
              leading: SvgPicture.asset("assets/icons/icon_square.svg",
                  width: kSize48),
              title: Text(
                "广场",
                style: TextStyle(color: kColor33, fontSize: kSize34),
              ),
              trailing: Text(
                "企业服务市场",
                style: TextStyle(color: kColor99),
              ),
              showArrow: true,
              showDivider: false,
            )
          ],
        ),
      ),
    );
  }
}
